/*
This Scarlett program will search google for Professor Mak and then hit eachof the returned links looking for emails.
It will add each email it finds to a collection and then print the collection at the end.
*/

show 'Search Google for Professor Mak Links'
show 'Then Print them all Out'
save fetch uri from http://www.google.com/search?q=Mak+sjsu into resultURIs
for every eachURI in resultURIs
	
	show eachURI
	save fetch email from eachURI into emailLinksTemp
	insert emailLinksTemp into emailLinks
	
loop

show ''
show ''
show ''
show ''
show emailLinks
